package com.kll.carolinehmibiz.presentation.listener

import android.view.View
import com.kll.carolinehmibiz.net.bean.GetSystemMenuDetailResponse

interface InternalLinksDetailsProtocol {

    interface IView {
        // 获取二级菜单详情成功
        fun getArticleSuccessed(data: ArrayList<GetSystemMenuDetailResponse>)
        // 获取二级菜单详情失败
        fun getArticleFailed(code: Int, message: String)
    }

    interface IPresenter {
        // 获取二级菜单详情
        fun getArticle(menuId: Int)
        // 将view从父控件中移除
        fun removeViewFormParent(v: View)
    }

}